#!/usr/bin/python
# -*- coding: utf-8 -*-

from google.appengine.ext.db import djangoforms

from diveintopython.models import Document, Translation

class DocumentForm(djangoforms.ModelForm):
    class Meta:
        model = Document

class TranslationForm(djangoforms.ModelForm):
    class Meta:
        model = Translation
        exclude = ["translator", "created", "modified", "lastmodifier", "origin"]
